<include file="public:header" />



<div class="main-container container">
    <!-- <div class="row">
        <div class="tools-bar">
            <div class="countdown pull-left">
                <strong>赛事倒计时<span>COUNTDOWN</span></strong>
                <div class="bd time">
                    
                </div>
            </div>
            <div class="pull-left rlink">
                <a href="#"><i class="icon-user"></i>注册</a>丨<a href="#">登录</a>
            </div>
        </div>
    </div> -->
   <div class="row">
        <ol class="breadcrumb">
          <li><a href="{:U('/')}">首页</a></li>
          <li class="active">精彩视频</li>
        </ol>
        <h3 class="title-m v2"><span>精彩视频</span></h3>
        <div class="content-block v2 col-main m-detail">
            <h2 class="title"><?php echo $record['title'];?></h2>
            <div class="date"><?php echo $record['pub_time'];?></div>
            
            
            <?php if (!empty($record['iframe_url'])){?>
            <div class="content video-iframe-mc">
                <?php echo $record['iframe_url'];?>
            </div>
            <?php }else{ ?>
            <div class="content video-mc">
                <div id="player_a" class="projekktor"></div>
            </div>
            <?php }?>
            
            
            

            <div class="btn-list tac mt30">
                <a href="javascript:history.back();" class="btn btn-danger">返回上一页</a>
            </div>


        </div>
    </div>
</div>







    
 
    
    <script src="<?php echo STATICSPATH;?>scripts/lib/projekktor/projekktor-1.3.09.min.js" type="text/javascript"></script>
    
    
<script type="text/javascript">
    $(function(){

        projekktor('#player_a', {
                    poster: "<?php echo $record['pic_b_show'];?>",
                    imageScaling: 'fill',
                    title: "视频",
                    playerFlashMP4: '<?php echo STATICSPATH;?>scripts/lib/projekktor/swf/StrobeMediaPlayback/StrobeMediaPlayback.swf',
                    playerFlashMP3: '<?php echo STATICSPATH;?>scripts/lib/projekktor/swf/StrobeMediaPlayback/StrobeMediaPlayback.swf',
                    width: '100%',
                    height: '100%',
                    playlist: [
                        {
                            0: {src: "<?php echo $record['filepath'];?>", type: "video/mp4"}
                        }
                    ]
                }, function(player) {} // on ready
        );

    });
</script>



<include file="public:footer" />
